//
//  CaiPuRenQiColumnCollectionViewCell.m
//  KCZ_B段项目
//
//  Created by dllo on 15/11/5.
//  Copyright © 2015年 Sky. All rights reserved.
//

#import "CaiPuRenQiColumnCollectionViewCell.h"
#import "FitHeader.h"
#import "FontSizeSingleTon.h"
#define Font [[FontSizeSingleTon shareFontSize]array]
@implementation CaiPuRenQiColumnCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _titleLable = [[UILabel alloc]init];
        _titleLable.textAlignment = NSTextAlignmentCenter;
        _titleLable.font = [UIFont systemFontOfSize:[Font[1]integerValue]];
        [self.contentView addSubview:_titleLable];
        _lineImageView = [[UIImageView alloc]init];
        [self.contentView addSubview:_lineImageView];
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _titleLable.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 20 * ht);
    _lineImageView .frame = CGRectMake(_titleLable.frame.origin.x, _titleLable.frame.origin.y + _titleLable.frame.size.height + 10 * ht, _titleLable.frame.size.width, 3 * ht);
}
@end
